<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
	<?php if (isset($this->pageTitle)):?>
	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
	<?php else:?>
	<title>测试版 - 三江培训专用官网</title>
	<?php endif;?>
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl;?>/css/main.css">
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl;?>/css/jquery.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl;?>/css/coin-slider.min.js"></script>
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl;?>/css/coin-slider-styles.css">
	<script type="text/javascript">
	$(document).ready(function() {
		//a flash player
		$('#coin-slider').coinslider({
			width: 320, // width of slider panel
			height: 510, // height of slider panel
			spw: 7, // squares per width
			sph: 5, // squares per height
			delay: 3000, // delay between images in ms
			sDelay: 30, // delay beetwen squares in ms
			opacity: 0.7, // opacity of title and navigation
			titleSpeed: 500, // speed of title appereance in ms
			effect: '', // random, swirl, rain, straight
			navigation: true, // prev next and buttons
			links : true, // show images as links
			hoverPause: true // pause on hover
		});
		
		//second nav setting...
		$('#nav_second li a').mouseover(function(){
			$(this).css({'color': 'red'});
		});
		$('#nav_second li a').mouseout(function(){
			$(this).css({'color': 'black'});
		});
		
		//first nav setting....
		//basic
		$('#header_up_down li a').each(function(){
			$(this).wrapInner( '<span class="out"></span>' ).append( '<span class="bg bg_'+getRandom(6)+'"></span>' );
		});
		
		$('#header_up_down li a').each(function() {
				$( '<span class="over">' +  $(this).text() + '</span>' ).appendTo( this );
		});
		
		
		$("#header_up_down li a").hover(function() {
				// 鼠标经过时候被触发的函数
				$(".out",this).stop().animate({'top':'45px'},250); // 向下滑动 - 隐藏
				$(".over",this).stop().animate({'top':'0px'},250); // 向下滑动 - 显示
				$(".bg",this).stop().animate({'top':'0px'},	120); // 向下滑动 - 显示

			}, function() {
				// 鼠标移出时候被触发的函数
				$(".out",this).stop().animate({'top':'0px'},250); // 向上滑动 - 显示
				$(".over",this).stop().animate({'top':'-45px'},250); // 向上滑动 - 隐藏
				$(".bg",this).stop().animate({'top':'-45px'},120); // 向上滑动 - 隐藏
			});
		
		
	});
	
	//get random int function in js.
	function getRandom(n){return Math.floor(Math.random()*n+1)}
	</script>
</head>
<body>
<!--Wrap{-->
<div id="wrap">
	<?php echo $content?>
	<!--}Content-->	
	<!--Footer{-->
	<div id="footer">
			<hr/>
			<p>SJU.iGroup@gmail.com © 2010-2011 BoyLee@Design All Right Received.</p>
			<p>地址:江苏省南京市雨花台区龙西路10号 邮编:210012 电话:025-52897066</p>
	</div>
	<!--}Footer-->
</div>
<!--}Wrap-->
</body>
</html>
